#ifndef DOWNLOADWIDGET_H
#define DOWNLOADWIDGET_H

#include "downloadmodel.h"
#include "taskrecord.h"

#include <QWidget>
#include <QTableView>

class DownloadView : public QTableView
{
    Q_OBJECT

    DownloadModel *model;
public:
    explicit DownloadView(QWidget *parent = 0);
    void insertNewTask(TaskRecord* taskRecord);

signals:
    
public slots:

};

#endif // DOWNLOADWIDGET_H
